@import url("../static/vendor/codemirror/codemirror.css");
@import url("../static/css/bootstrap.min.css");

.wp-json {
    width:auto;
}
.wp-json .mod-json {
    position: absolute;
    top: 40px;
    bottom: 0;
    right:0;
    left:0;
}
body[browser-extension] .wp-json .mod-json {
    top: 60px;
}
.wp-json .mod-json .panel-txt {
    position: absolute;
    width: 500px;
    top: 15px;
    bottom: 0;
}
.wp-json .panel-body {
    padding:15px 0;
}
.wp-json .CodeMirror-scroll {
    min-height: 550px;
}

.json-examples {
    margin: 0 15px 10px 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.json-examples span {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

.json-examples a {
    display: inline-block;
    margin-right: 15px;
    color: #337ab7;
    text-decoration: none;
    font-size: 14px;
}

.json-examples a:hover {
    color: #23527c;
    text-decoration: underline;
}

.result-display {
    margin-left: auto !important;
    font-size: 14px !important;
    white-space: nowrap;
}

.box-wrapper-left {
    height: 90%;
    padding:0 5px 0 0;
}
.box-wrapper-right {
    height: 90%;
    padding:0 0 0 5px;
}
#jsonSourceLeft, #jsonSourceRight, .CodeMirror {
    height: calc(100%);
    font-size: 14px;
}
.x-error {
    color: #1f0606;
    font-size: 12px;
    margin-left: 30px;
}
.x-error .x-hlt {
    color:#f00;
    font-weight: bold;
}
.x-error .x-hlt1 {
    color:#f00;
}

/* 探索更多工具样式 */
.panel-title>a.x-other-tools {
    margin: 1px 0 0;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    -webkit-user-select: none;
    user-select: none;
    color: #333;
    float: right;
    background-color: #f5f8ff;
    padding: 5px 10px;
    border-radius: 15px;
    border: 1px solid #d0d9ff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
    top: -6px;
}

.panel-title>a.x-other-tools .icon-plus-circle {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(../static/img/plus-circle.svg) no-repeat center center;
    background-size: contain;
    margin-right: 5px;
}

.panel-title>a.x-other-tools .tool-market-badge {
    display: inline-block;
    background-color: #4d89fe;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
    font-size: 12px;
    font-weight: bold;
}

.panel-title>a.x-other-tools:hover {
    color: #333;
    background-color: #e6edff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}
